#include<stdio.h>
int main()
{
    int n;
    float m;
    scanf("%d",&n);
    m=(n-100)*0.9*2;
    printf("%.1f",m);
    return 0;
}